FROM eclipse-temurin:17-jre-jammy
WORKDIR /app
COPY snowy-web-app-3.0.0.jar app.jar
VOLUME /tmp
VOLUME /config
ENV LANG=en_US.UTF-8
EXPOSE 82
ENTRYPOINT ["java", "-Xms4g", "-Xmx4g", "-XX:MaxGCPauseMillis=200", "-Djava.security.egd=file:/dev/./urandom",  "-jar", "app.jar","--spring.config.location=file:/config/application.properties"]
